<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="ajax.js"></script>
<script>
        ajax({
            "url": "http://localhost:5277/api/v1/banner/listTop5",
            "type":"get",
            "success":res=>{
                console.log(res)
            }
        })
    </script>
</body>
</html>